PXC Documentation

PXC Home

Audio Loudness

pre 1.18

Calculate volume of an audio bit array.



Node Data

AnimationArray

Display name

Audio Loudness

Internal name

Node_Audio_Loudness

Inheritances

node
node_processor
node_audio_loudness

Inputs

node_audio_loudness

float

Audio Data

Outputs

node_audio_loudness

float

Loudness

This node takes a array of audio data and calculate loudness of that segment in decibel.



Loudness Calculation


Loudness is calculated using the following formula:


$$L = 10 \cdot \log_{10}\left(\frac{1}{N} \sum_{n=0}^{N-1} a[n]^2\right)$$


Where: